<?php
/**
 * Created by PhpStorm.
 * User: woody
 * Date: 17-2-16
 * Time: 下午10:46
 */

namespace App\Http\Controllers\Admin;

use App\Models\Goods;

use Validator , Config , Session , Cookie;

class GoodsController extends AdminController {

    public function index(){
        $GoodsModel = new Goods();
        $this->_response['Goods'] = $GoodsModel;
        $data=$GoodsModel->Goods();
        return response()->json(['code' => 0, 'msg' => '', 'data' => $data]);

        // return view('admin.Goods', $this->_response);
    }




}